fix(cve): CVE-2026-42499, CVE-2026-39820 - update Go 1.25.9 to 1.25.10 [release-v0.42.2]#2921
Conversation
- Update Go stdlib from 1.25.9 to 1.25.10 - Addresses CVE-2026-42499: Quadratic string concatenation in consumePhrase in net/mail - Addresses CVE-2026-39820: Quadratic string concatenation in consumeComment in net/mail - Both vulnerabilities allow DoS via pathological email address inputs Resolves: SRVKP-12511, SRVKP-12514 Co-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@divyansh42: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
CVE Details
net/mail(stdlib)net/mail(stdlib)Description
consumePhraseinnet/mail. Pathological inputs could cause DoS when parsing email addresses according to RFC 5322.consumeCommentinnet/mail. Well-crafted inputs reachingParseAddress,ParseAddressList, andParseDatecould trigger excessive CPU exhaustion and memory allocations.Fix Summary
Updated
godirective ingo.modfrom1.25.9to1.25.10. This is a Go stdlib patch release that includes the security fixes for both CVEs. No vendor directory changes were required (stdlib fix only).Test Results
Status: ✅ PASSED
All unit tests passed with the updated Go version.
Breaking Changes
None. This is a patch-level stdlib update (1.25.9 → 1.25.10) with no API changes.
Jira References
SRVKP-12511
SRVKP-12514
Verification Steps
go versionin the build environment matches1.25.10or highergovulncheck -scan package ./...no longer reports GO-2026-4977 or GO-2026-4986go test -mod=vendor ./...Risk Assessment
Low — Patch-level Go version bump. Fixes two DoS vulnerabilities in
net/mail. ThetknCLI does not directly callnet/mailfunctions but benefits from the updated stdlib in case of transitive use. All tests pass.